package org.meteorshower.employee_depart.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Mapper;
import org.meteorshower.employee_depart.entity.Locate;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 地区类持久层
 * */
@Repository
@Mapper
public interface ILocateDao extends BaseMapper<Locate> {
    List<Locate> getProvince();
    List<Locate> getCity(String id);
    List<Locate> getArea(String id);
    List<Locate> getCounty(String id);
    List<Locate> getVillage(String id);
}
